package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IUsuarioTipoDao;
import br.com.news.database.entities.UsuarioTipoEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.UsuarioTipoBean;
import br.com.news.utils.database.interfaces.IUsuarioTipoService;

@Named
public class UsuarioTipoService extends
		GenericService<UsuarioTipoBean, UsuarioTipoEntity, Long> implements
		IUsuarioTipoService {

	@Inject
	private IUsuarioTipoDao usuarioTipoDao;

	@Override
	protected IGenericDao<UsuarioTipoEntity, Long> getConcreteDao() {
		return this.usuarioTipoDao;
	}

}
